package com.xckj.cycling.bean.common;

import java.io.Serializable;

/**
 * EventBus传值用到的实体.
 */
public class EventBusBean<T> implements Serializable {

    private EventTag mTag;//标签
    private T mT;//数据

    public EventBusBean(EventTag tag) {
        mTag = tag;
    }

    public EventBusBean(EventTag tag, T t) {
        mTag = tag;
        mT = t;
    }

    public EventTag getTag() {
        return mTag;
    }

    public void setTag(EventTag tag) {
        mTag = tag;
    }

    public T getData() {
        return mT;
    }

    public void setData(T t) {
        mT = t;
    }

}
